DescribeStratety
Description
Get the baseline check policy implementation.
Request Method
POST
Request Path
/apsara/route/Sas/DescribeStratety
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
CycleStartTime | integer | no demo value | policy execution start time. |
EcsCount | integer | no demo value | number of hosts using this policy. |
RequestId | string | no demo value | request ID. |
CycleDays | integer | no demo value | policy execution cycle. |
ConfigTargets | array | no demo value | asset grouping information using this policy. for specific sub-items, see the following parameter description. |
Flag | string | no demo value | Effective ID: add: indicates a white list, that is, the asset group applies the policy. del: indicates a blacklist, that is, the asset group does not apply this policy. description generally, the system default policy is blacklisted, and user-defined policies are whitelist. |
RiskCount | integer | no demo value | the number of risk items contained in the policy. |
Name | string | no demo value | policy name. |
ExecStatus | integer | no demo value | The current execution status of this policy: 1: indicates that the execution is complete 2: indicates that it is executing |
Target | string | no demo value | asset group ID. |
ProcessRate | integer | no demo value | policy execution percentage progress. |
Strategies | array | no demo value | baseline check policy execution list. see the following parameter description for specific sub-items. |
TargetType | string | no demo value | the fixed return value is groupId, indicating that the value of the Target parameter is the asset group ID. |
Id | integer | no demo value | policy ID. |
Example
Successful Response example
{
"CycleStartTime":"no demo value",
"EcsCount":"no demo value",
"RequestId":"no demo value",
"CycleDays":"no demo value",
"ConfigTargets":"no demo value",
"Flag":"no demo value",
"RiskCount":"no demo value",
"Name":"no demo value",
"ExecStatus":"no demo value",
"Target":"no demo value",
"ProcessRate":"no demo value",
"Strategies":"no demo value",
"TargetType":"no demo value",
"Id":"no demo value"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}